package com.ofek.applicationbase.model;

public class ObjectModel extends Model {
	private Object object;
	private boolean hasChanged = true;
	
	public synchronized void set(Object object) {
		hasChanged|=set("object",object,this.object);
	}
	
	public synchronized Object get() {
		return object;
	}
	
	public synchronized boolean hasChanged() {
		return hasChanged;
	}

	public void setChanged(boolean hasChanged) {
		this.hasChanged = hasChanged;
	}
}
